package com.xayy.health.ds.service;


import cn.kawins.base.result.CheckResult;
import com.xayy.health.core.config.datasource.DatasourceSelector;
import com.xayy.health.ds.model.DsTaskInfo;
import java.util.List;

import com.xayy.health.mgt.model.TaskInfo;
import com.xtck.ha.common.core.web.service.IBaseService;
/**
* @ClassName: DsTaskInfoService
* @Description: DsTaskInfo业务访问接口
* @author liuyuan
* @date 2025-07-08
*/
public interface DsTaskInfoService extends IBaseService<DsTaskInfo> {
    List<DsTaskInfo> selectDsTaskInfoList(DsTaskInfo dsTaskInfo);

    /**
     * 根据任务id查询任务数据
     *
     * @param taskId 任务id
     * @return CheckResult<TaskInfo>
     */
    CheckResult<DsTaskInfo> selectTaskInfo(Long taskId);

    List<DsTaskInfo> selectByExample(DsTaskInfo dsTaskInfo);

    /**
     * 批量更新状态
     *
     * @param taskId 任务id
     */
    void updateBatchStatus(List<Long> taskId);

    List<DsTaskInfo> selectByIds(List<Long> taskIds);

    /**
     * 删除预测数据
     *
     * @param predictIdList 预测数据
     */
    void deleteCalculateData(List<Long> predictIdList);
}

